{%include file="m.index.header.tpl.php"%}<!--头部 end-->
<!--主体部分-->

<div class="container" style="margin-top:70px;">
    <!--<div class="row" style="margin-right:10%;">
      <div  class="col-xs-sm  text-right" > <a class="btn btn-primary" href="class_behavior_add.html">新增奖励行为</a> <a class="btn btn-danger" href="class_behavior_add.html">新增违规行为</a> </div>
    </div>-->
    <!--row  end-->
    <div class="row" style="margin-top:10px;margin-bottom:20px;">
        <div class="col-sm-12 distance" >
            <div class="form-group">
                <div class="col-sm-10  text-center">
                    <div class="col-xs-6"><a type="button" class="btn btn-primary " href="index.php?a=award.classawardnewadd">新增奖励行为</a> </div>
                    <div class="col-xs-6"><a type="button" class="btn btn-danger" href="index.php?a=award.classpunishmentnewadd">新增违规行为</a></div>
                </div>
            </div>
        </div>
    </div>

    <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
        <table class="table table-striped table-bordered text-center"  id="middles">
            {%foreach from=$clas_lists key=key item=value%}
            <tr>
                <td>班级名称</td>
                <td>{%$value.class_name%}</td>
            </tr>
            <tr>
                <td>行为类别</td>
                <td>{%$value.award_type%}</td>
            </tr>
            <tr>
                <td>行为项目</td>
                <td>{%$value.award_title%}</td>
            </tr>
            <tr>
                <td>学分</td>
                <td>{%$value.award_credit%}</td>
            </tr>
            <tr>
                <td>日期</td>
                <td>{%$value.create_time%}</td>
            </tr>
            <tr>
                <td>操作</td>
                <td ><a type="button" class="btn btn-danger" href="index.php?a=award.classupdate&clas_id={%$value.clas_id%}" >修改</a></td>
            </tr>
            {%/foreach%}
        </table>
    </div>
</div>
<!--container  end-->

<!--主体部分  end-->
<!--底部-->
{%include file="m.index.footer.tpl.php"%}
<!--container  end-->

<!--底部end-->
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->
<!--日历-->
<script>
    $(function() {
        $( "#datepicker" ).datepicker({

            changeMonth: true,
            changeYear: true

        });

        $( "#datepicker2" ).datepicker({

            changeMonth: true,
            changeYear: true

        });
    });
</script>
</body>
</html>
